/*   1:    */ package com.atomikos.diagnostics;
/*   2:    */ 
/*   3:    */ import java.io.IOException;
/*   4:    */ 
/*   5:    */ public class CascadedConsole
/*   6:    */   implements Console
/*   7:    */ {
/*   8:    */   private Console first_;
/*   9:    */   private Console last_;
/*  10:    */   
/*  11:    */   public CascadedConsole(Console first, Console last)
/*  12:    */   {
/*  13: 51 */     this.first_ = first;
/*  14: 52 */     this.last_ = last;
/*  15:    */   }
/*  16:    */   
/*  17:    */   public void println(String string)
/*  18:    */     throws IOException
/*  19:    */   {
/*  20: 65 */     this.first_.println(string);
/*  21: 66 */     this.last_.println(string);
/*  22:    */   }
/*  23:    */   
/*  24:    */   public void print(String string)
/*  25:    */     throws IOException
/*  26:    */   {
/*  27: 79 */     this.first_.print(string);
/*  28: 80 */     this.last_.print(string);
/*  29:    */   }
/*  30:    */   
/*  31:    */   public void close()
/*  32:    */     throws IOException
/*  33:    */   {
/*  34: 89 */     this.first_.close();
/*  35: 90 */     this.last_.close();
/*  36:    */   }
/*  37:    */   
/*  38:    */   public void println(String string, int level)
/*  39:    */     throws IOException
/*  40:    */   {
/*  41: 96 */     this.first_.println(string, level);
/*  42: 97 */     this.last_.println(string, level);
/*  43:    */   }
/*  44:    */   
/*  45:    */   public void print(String string, int level)
/*  46:    */     throws IOException
/*  47:    */   {
/*  48:104 */     this.first_.print(string, level);
/*  49:105 */     this.last_.print(string, level);
/*  50:    */   }
/*  51:    */   
/*  52:    */   public void setLevel(int level)
/*  53:    */   {
/*  54:112 */     this.first_.setLevel(level);
/*  55:113 */     this.last_.setLevel(level);
/*  56:    */   }
/*  57:    */   
/*  58:    */   public int getLevel()
/*  59:    */   {
/*  60:122 */     return this.first_.getLevel();
/*  61:    */   }
/*  62:    */ }


/* Location:           C:\myfile\mysoft\apache-maven-3.5.0-bin\apache-maven-3.5.0\myrep\com\atomikos\atomikos-util\3.7.0\atomikos-util-3.7.0.jar
 * Qualified Name:     com.atomikos.diagnostics.CascadedConsole
 * JD-Core Version:    0.7.0.1
 */